           package com.java.diagnostics.visualizer.impl.extensions;
           
           import com.java.diagnostics.visualizer.postprocessing.PostProcessor;
           import java.util.List;
           
           public class PostProcessorRegistry extends GCAndMemoryVisualizerExtensionRegistry
           {
             private static final String EXTENSION_POINT = "com.java.diagnostics.visualizer.postprocessor";
             private static PostProcessorRegistry registry = null;
           
             private static final PostProcessor[] POSTPROCESSOR_TEMPLATE_ARRAY = new PostProcessor[0];
           
             public static PostProcessorRegistry getInstance()
             {
               if (registry == null)
               {
                 registry = new PostProcessorRegistry();
               }
           
               return registry;
             }
           
             protected String getExtensionPointID()
             {
               return "com.java.diagnostics.visualizer.postprocessor";
             }
           
             public PostProcessor[] instantiatePostprocessors()
             {
               List postprocessors = instantiateExtensions();
           
               return (PostProcessor[])postprocessors.toArray(POSTPROCESSOR_TEMPLATE_ARRAY);
             }
           }

